shell_integration/macOS/FileProviderUIExt: Use valid NKError description property
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Wed, 5 Feb 2025 07:45:49 +0000 (15:45 +0800)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Thu, 6 Feb 2025 11:24:09 +0000 (12:24 +0100)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Sharing/ShareeSuggestionsDataSource.swift

index 0987cd7282b9beda54ec90471715a239aaad3337..5687a6d19bac3f9ceefb6e47fc0ba70743f0b54b 100644 (file)
@@ -43,7 +43,7 @@ class ShareeSuggestionsDataSource: SuggestionsDataSource {
                     defer { continuation.resume(returning: sharees ?? []) }
                     guard error == .success else {
                         Logger.shareeDataSource.error(
-                            "Error fetching sharees: \(error.description, privacy: .public)"
+                            "Error fetching sharees: \(error.errorDescription, privacy: .public)"
                         )
                         return
                     }